






<div class="admin-biaogelist">

    <div class="listbiaoti am-cf">
        <ul class="am-icon-flag on"> 充值审核完成列表</ul>

        <dl class="am-icon-home" style="float: right;">当前位置： 首页 > <a href="#">充值审核完成列表</a></dl>

        <!--<dl>
          <button type="button" class="am-btn am-btn-danger am-round am-btn-xs am-icon-plus" > 补充线订单</button>
        </dl>-->
        <!--这里打开的是新页面-->

    </div>

    <div class="fbneirong">
        <form class="am-form am-g">
            <div class="soso">

                <p>
                     开始时间
                    <input type="" id="datetimepicker" name="date1" class="date_picker" data-date-format="yyyy-mm-dd">
                    结束时间
                    <input type="" id="datetimepicker" name="date2" class="date_picker" data-date-format="yyyy-mm-dd">
                </p>

                <p class="ycfg" style="margin-left: 60px;"><input type="text" name="username" class="am-form-field am-input-sm" placeholder="用户名" /></p>
                <p class="" > <div   style="margin-left: 20px;" class="am-btn am-btn-secondary am-radius search">查找</div></p>
            </div>
            <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped am-table-hover">
                <thead>
                <tr class="am-success">
                    <th class="table-check"><input type="checkbox" /></th>

                    <th class="table-id">ID</th>

                    <th class="table-title">创建时间</th>

                    <th class="table-type">充值金额</th>
                    <th class="table-author am-hide-sm-only">转账姓名</th>
                    <th class="table-author am-hide-sm-only">审核状态</th>
                    <th class="table-date am-hide-sm-only">备注</th>

                </tr>
                </thead>
                <tbody class="impowdith">




                </tbody>
            </table>

            <!--  <div class="am-btn-group am-btn-group-xs">
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 删除</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 上架</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 下架</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 移动</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 新增</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-save"></span> 保存</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-archive"></span> 移动</button>
                  <button type="button" class="am-btn am-btn-default"><span class="am-icon-trash-o"></span> 删除</button>
              </div>-->



            <div id="Pagination" style="margin:20px auto" style="display:none"></div>

            <!--  <ul class="am-pagination am-fr">


              </ul>-->




            <hr />
            <p>注：.....</p>
        </form>



    </div>



    <script>

        var taskste='';
        var on_request=false;
        var type=1;
        var page=1;

        geypaylist();
        function geypaylist() {
            if (on_request) {
                return;
            }
            on_request = true;
            var postdata=[];
            var url = "<?php echo base_url(); ?>Customer/getpaylistaction";
            var epage=$("input[name='epage']").val();


            if(epage==""){
                epage=10;
            }
            var username=$("input[name='username']").val();
            var date1=$("input[name='date1']").val();
            var date2=$("input[name='date2']").val();

            var postdata = {
                'page': page,
                'username': username,
                'date2': date2,
                'date1': date1,
                'type': 1,
                'number': epage
            };


        /*    if(row!=undefined){
                postdata['username']=row['username']
                postdata['date1']=row['date1']
                postdata['date2']=row['date2']
            }
*/

            $.post(url, postdata, function (data) {
                on_request = false;
                $("input[name='epage']").val(data.count);
                setlisthtnml(data,page);
                setPagination("Pagination", data.count, page, data.epage, function (clickPage) {
                    page = parseInt(clickPage) + 1;
                    geypaylist();
                });
            },'json');
        }


        function setlisthtnml(data) {

            var html = '';
            if(data.list.length>0){
                $.each(data.list, function (key, value) {
                    html += ' <tr  payid="'+value.id+'">' +
                        '<td><input type="checkbox" /></td>\n' +
                        ' <td>'+  value.id+'</td>\n' +
                        ' <td>'+value.addtime+'</td>\n' +
                        '  <td>'+value.money+'</td>\n' +
                        '                    <td class="am-hide-sm-only">'+value.money_maker+'</td>\n' +
                        '                    <td class="am-hide-sm-only">'+value.status+'</td>\n' +
                        '  <td>'+value.remark+'</td>\n' +

                        '                </tr>';
                });
                $(".impowdith").html(html);
                $('#Pagination').show();
            }else{
                html += '<li><div style="width:100%;text-align:center;">&nbsp暂无数据</div></li>';
                $(".impowdith").html(html);
                $('#Pagination').hide();
            }



        }



   $(".search").click(function () { page=1;
            geypaylist(1)
        });





















    </script>








    <div class="foods">
        <ul>
            版权所有@2015.
        </ul>
        <dl>
            <a href="" title="返回头部" class="am-icon-btn am-icon-arrow-up"></a>
        </dl>
    </div>




</div>

</div>




</div>


<!--<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>-->
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/polyfill/rem.min.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/polyfill/respond.min.js"></script>
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/amazeui.legacy.js"></script>


<!--[if (gte IE 9)|!(IE)]><!-->
<script src="<?php echo base_url() . 'public/business/'; ?>assets/js/amazeui.min.js"></script>
<!--<![endif]-->



</body>
</html>